.root {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 10px;
  border-radius: 4px;
  background: linear-gradient(to top, #FF0000 0%, #FF0099 10%, #CD00FF 20%, #3200FF 30%, #0066FF 40%, #00FFFD 50%, #00FF66 60%, #35FF00 70%, #CDFF00 80%, #FF9900 90%, #FF0000 100%);
    
  &:after {
    content: '';
    position: absolute;
    display: block;
    border-radius: 4px;
    top: 0px; right: 0px; bottom: 0px; left: 0px;
    border: 1px solid rgba(0, 0, 0, 0.2);
  }
}

.marker {
  position: absolute;
  display: inline-block;
  width: 12px;
  height: 8px;
  border: 1px solid rgba(0, 0, 0, 0.4);
  background-color: #ffffff;
  border-radius: 2px;
  z-index: 1;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  cursor: pointer;
}
